package app.hzvmap.com.rangecontrol.model;

import org.xutils.http.annotation.HttpResponse;

import java.util.List;

@HttpResponse(parser = JsonResponseParser.class)
public class Division {
    private String id;
    private String name;
    private String appServer;
    private String appLogin;
    private String appHome;
    private String trackServer;
    private String trackPort;
    private List<Division> children;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAppServer() {
        return appServer;
    }

    public void setAppServer(String appServer) {
        this.appServer = appServer;
    }

    public String getAppLogin() {
        return appLogin;
    }

    public void setAppLogin(String appLogin) {
        this.appLogin = appLogin;
    }

    public String getAppHome() {
        return appHome;
    }

    public void setAppHome(String appHome) {
        this.appHome = appHome;
    }

    public String getTrackServer() {
        return trackServer;
    }

    public void setTrackServer(String trackServer) {
        this.trackServer = trackServer;
    }

    public String getTrackPort() {
        return trackPort;
    }

    public void setTrackPort(String trackPort) {
        this.trackPort = trackPort;
    }

    public List<Division> getChildren() {
        return children;
    }

    public void setChildren(List<Division> children) {
        this.children = children;
    }

    @Override
    public String toString() {
        return name;
    }
}
